package com.zbkj.business.core;


/**
 * <p>
 * 静态变量
 * </p>
 *
 * @author shunzi
 * @since 2020-02-12
 */
public class Constant  {

    //TODO REDIS 标记 ONE:IM

    private static final long serialVersionUID = 1L;

    /**=================================================锁=================================================**/
    //redis用户消费事务锁
    public static final String REDIS_LOCK_ORDER_DTS="LOCK:ORDER:DTS:";
    public static final String REDIS_LOCK_PHONECODE="LOCK:PHONECODE:";


    /**=================================================数据=================================================**/
    public static final String REDIS_API_CART                                                   ="CORE:CART:";
    public static final String REDIS_TEMP_PHONECODE                                                   ="TEMP:PHONECODE:";
    public static final String REDIS_TEMP_AIPOSCENTER_TOKEN                                     ="CORE:ADMIN:TOKEN:";


    /**=================================================配置=================================================**/



    public static final int CONFIG_LOGIN_TYPE_PWD                                             =0;
    public static final int CONFIG_LOGIN_TYPE_CODE                                            =2;

    public static final int CONFIG_ADMIN_STATE_DELETE                                           =99;
    public static final int CONFIG_ADMIN_STATE_NOT_ENABLE                                       =0;
    public static final int CONFIG_ADMIN_STATE_ENABLE                                           =1;
    public static final int CONFIG_ADMIN_STATE_LOCK                                             =2;

    /**=================================================数据=================================================**/


}
